﻿using PeiYue.Model;
using PeiYue.Model.Dto.Sys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PeiYue.Api.Controllers.BASE
{
    public interface IBaseController<TEntity> where TEntity : class
    {
        //Task<MessageModel<string>> Updates(IList<TEntity> entitys);
        Task<MessageModel<string>> Delete(UpdateStatusDto updateStatusDto);
        Task<MessageModel<string>> Enable(UpdateStatusDto updateStatusDto);
        Task<MessageModel<string>> Disable(UpdateStatusDto updateStatusDto);
    }


}
